package com.engine4cloud.tdf.supervision.dto;

import com.engine4cloud.tdf.common.core.constant.enums.NormalAuditActionStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "进入特定区域核查-请求对象")
public class SpAccessSpecificVerifyDTO {
    /**
     * 矫正对象编号
     */
    @Schema(description = "矫正对象编号")
    @NotBlank(message = "矫正对象编号不能为空")
    private String rybh;
    /**
     * 定位时间
     */
    @Schema(description = "定位时间")
    @NotNull(message = "定位时间不能为空")
    private LocalDateTime locTime;

    /**
     * 审核动作列表
     */
    @Schema(description = "审核动作列表")
    @NotEmpty(message = "审核动作列表不能为空")
    private List<NormalAuditActionStatusEnum> enumList;
}
